// -----------------------------------------------------------------------
//  <copyright file="IConfigurationChangeHandler.cs" company="LiuliuSoft">
//      Copyright (c) 2025 66SOFT. All rights reserved.
//  </copyright>
//  <site>https://ifs.66soft.net</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-10-03 14:10</last-date>
// -----------------------------------------------------------------------

namespace DaprPlus.Configurations;

/// <summary>
/// 配置变化处理器接口
/// </summary>
/// <typeparam name="T">配置类型</typeparam>
public interface IConfigurationChangeHandler<in T> where T : class
{
    Task OnConfigurationChanged(string dataId, T configuration);
}